<%@ page language="java" contentType="text/html; charset=gb2312"
    pageEncoding="gb2312"%>
    
<%@ taglib uri="/struts-tags" prefix="s" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>validate</title>
</head>
<body>

	<table align="center" width="40%" border="0">
		<tr>
			<td>
		 		<s:actionerror cssStyle="color:red;"/>
		 		------------------------------------
		 		<s:fielderror cssStyle="color:blue;"></s:fielderror>
		 	</td>
	 	</tr>
	</table>

 <form action="register.action" method="post">

	<table align="center" border="1" width="40%">
		<tr>
			<td>
				username:
			</td>
			<td>
				<input type="text" name="username" size="20">
			</td>		
		</tr>
		
		<tr>
			<td>
				password:
			</td>
			<td>
				<input type="password" name="password" size="20">
			</td>		
		</tr>
		
		<tr>
			<td>
				re-password:
			</td>
			<td>
				<input type="password" name="repassword" size="20">
			</td>		
		</tr>
		
		<tr>
			<td>
				age:
			</td>
			<td>
				<input type="text" name="age" size="20">
			</td>		
		</tr>
		
		<tr>
			<td>
				birthday:
			</td>
			<td>
				<input type="text" name="birthday" size="20">
			</td>		
		</tr>
		
		
		<tr>
			<td>
				graduation:
			</td>
			<td>
				<input type="text" name="graduation" size="20">
			</td>		
		</tr>
		
		<tr>
			<td>
				<input type="submit" value="submit">
			</td>
			<td>
				<input type="reset" value= "reset">
			</td>		
		</tr>
		
	</table>
	
  </form>


</body>
</html>